package gao.xiaolei.dto;

import gao.xiaolei.entity.TestProject;
import gao.xiaolei.entity.TestProjectBase;
import lombok.Data;

@Data
public class TestProjectOutDto extends TestProjectBase {

    private String leadingCadreName;// 测试项目负责人昵称

    private String groupName;// 该测试项目的所属小组昵称

    private String groupLeaderName;//该测试项目的所属小组组长昵称

    private String systemName;// 该测试项目的测试系统对象昵称

    public TestProjectOutDto(TestProject testProject, String leadingCadreName, String groupName, String systemName, String groupLeaderName) {
        super(testProject.getId(),testProject.getLeadingCadre(),testProject.getName(),testProject.getDescribe(),testProject.getCreateDate(),testProject.getGroupId(),testProject.getSystem());
        this.leadingCadreName = leadingCadreName;
        this.groupName = groupName;
        this.systemName = systemName;
        this.groupLeaderName=groupLeaderName;
    }
}
